package com.example.volunteer.service;

import com.example.volunteer.model.Skill;
import com.example.volunteer.util.PageResult;

import java.util.List;

public interface SkillService {
    void insert(Skill skill);
    void addVolunteerSkill(Integer skillId, String volunteerId);
    void removeAllVolunteerSkills(String volunteerId);
    PageResult<Skill> findByVolunteerId(String volunteerId, int pageNum, int pageSize);
    PageResult<Skill> findAll(int pageNum, int pageSize);
}
